/*
 * @Autor: dingxiaolin
 * @Date: 2021-07-21 11:29:56
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-08-02 11:19:05
 */
import { RouteRecordRaw } from 'vue-router'

// 个人中心页面
const userAccount: Array<RouteRecordRaw> = [
    {
        path: '/settings',
        name: 'settings',
        meta: {
            title: '个人设置',
        },
        redirect: '/settings/base',
        component: () => import('@/views/static_view/accountSettings/index.vue'),
        children: [
            {
                name: 'baseSettings',
                path: 'base',
                meta: {
                    title: '基本设置',
                },
                component: () => import('@/views/static_view/accountSettings/baseSettings/index.vue')
            },
            {
                name: 'securitySettings',
                path: 'security',
                meta: {
                    title: '安全设置',
                },
                component: () => import('@/views/static_view/accountSettings/securitySettings/index.vue')
            },
            {
                name: 'customSettings',
                path: 'custom',
                meta: {
                    title: '个性化设置',
                },
                component: () => import('@/views/static_view/accountSettings/customSettings/index.vue')
            },
            {
                name: 'notificationSettings',
                path: 'notification',
                meta: {
                    title: '新消息通知',
                },
                component: () => import('@/views/static_view/accountSettings/notificationSettings/index.vue')
            },
        ]
    },

]
export default userAccount